package com.team.RunsFast_Api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.runsfast.entity.UserSign;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserSignDao extends BaseMapper<UserSign> {

    @Select("select * from t_usersign where uid=#{uid} order by ctime desc limit 1  ")
    UserSign selectLast(long uid);

}
